
from django.urls import path,include
from .import views

app_name= 'news'

urlpatterns = [
    path('index/', views.index, name='index'),
    path('indexs/', views.indexs, name='indexs'),
    path('news/', views.NewsListView.as_view(), name='news'),
    path('news_id/<int:news_id>/', views.NewDetail.as_view(), name='news_id'),
    path('news/banners/', views.BannerView.as_view(), name='banners'),

]

